
import { _decorator, Component, Node, resources, log, JsonAsset, Asset } from 'cc';
import { configMaps } from './Models';
const { ccclass, property } = _decorator;

@ccclass('ReadSample')
export class ReadSample extends Component {
    // [1]
    // dummy = '';
    // [1]
    // dummy = '';
    /**  */
    public js: object | null = null;
    public configs: configMaps
        // [2]
        // @property
        // serializableDummy = 0;
        = new configMaps();
    // [2]
    // @property
    // serializableDummy = 0;

    start() {


        // [3]
    }

    // update (deltaTime: number) {
    //     // [4]
    // }

    update() {
        log("update~~")
        log(this.configs.GetLoadProcessNum())
        if (this.configs.CheckOk()) {
            const ll = this.configs.bullet_config["vehicle_boom"];
            console.log(ll);

        }
    }
}
interface Id {
        /** 测一下啊 */ggid: number;
        /** 测一下啊2 */pp: number;
}

/**
 * [1] Class member could be defined like this.
 * [2] Use `property` decorator if your want the member to be serializable.
 * [3] Your initialization goes here.
 * [4] Your update function goes here.
 *
 * Learn more about scripting: https://docs.cocos.com/creator/3.0/manual/en/scripting/
 * Learn more about CCClass: https://docs.cocos.com/creator/3.0/manual/en/scripting/ccclass.html
 * Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.0/manual/en/scripting/life-cycle-callbacks.html
 */
